package com.ph.irp.base.verifyproject.service;

import java.util.List;
import com.ph.irp.dto.CandiateDTO;
import com.ph.irp.model.PBaseVerifyprojectCandiate;

public interface PBaseVerifyprojectCandiateService {

	public List<CandiateDTO> getCandiateList(PBaseVerifyprojectCandiate p)throws Throwable;
	public List<CandiateDTO> getCandiateByCode(String code)throws Throwable;
	public List<CandiateDTO> getCandiateByName(String name)throws Throwable;
	public List<CandiateDTO> getCandiateByCodeAndName(String code,String name)throws Throwable;
	
	
	public CandiateDTO getCandiateById(int candiateId)throws Throwable;
	
	public void addCandiate(PBaseVerifyprojectCandiate candiate)throws Throwable;
	
	public void updateCandiate(PBaseVerifyprojectCandiate candiate)throws Throwable;
	
	public void deleteCandiate(int candiateId)throws Throwable;
}
